package com.ruoyi.apis.repository;

import com.ruoyi.apis.entity.IndustryEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author Choi
 * @Date 2021/8/17
 */


public interface IndustryRepository extends JpaRepository<IndustryEntity, Long> {

    IndustryEntity findById(long industryId);

    List<IndustryEntity> findAllByOrderBySortAsc();
}
